from django.conf.urls.defaults import *

urlpatterns = patterns('portal.views',
        (r'^archive/(\d+)/(\d+)/$', 'archive'),
        (r'^archive/(\d+)/$', 'archive', {"year":""}),
        (r'^archive/', 'archive', {"month":"", "year":""}),
        (r'^login/$', 'login'),
        (r'^register/$', 'register'),
        (r'^activate/(.+)/$', 'activate'),
        (r'^profile/(.+)/$', 'view_profile'),
        (r'^profile/', 'edit_profile'),
        (r'^$', 'main'),
)        
